package org.cocoren.bean;

public class Employee {
    @Override
	public String toString() {
		return "Employee [empid=" + empid + ", empname=" + empname
				+ ", gender=" + gender + ", email=" + email + ", did=" + did
				+ ", department=" + department + "]";
	}

	private Integer empid;
	

    private String empname;

    private String gender;

    private String email;

    private Integer did;
    
    private Department  department;
    
    

    public Department getDepartment() {
		return department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	public Integer getEmpid() {
        return empid;
    }

    public void setEmpid(Integer empid) {
        this.empid = empid;
    }

    public String getEmpname() {
        return empname;
    }

    public void setEmpname(String empname) {
        this.empname = empname == null ? null : empname.trim();
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

	public Employee(Integer empid, String empname, String gender, String email,
			Integer did, Department department) {
		super();
		this.empid = empid;
		this.empname = empname;
		this.gender = gender;
		this.email = email;
		this.did = did;
		this.department = department;
	}

	public Employee() {
		super();
	}
    
    
}